package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.Comments;

import java.util.List;

@Mapper
public interface CommentsMapper extends BaseMapper<Comments> {
    List<Comments> selectTheUserForTheCommentId(Integer commentId);

    List<Comments> selectUserByCommentId(@Param("targetId") String targetId);
}